/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package encaps.entities;

import java.util.Collection;
import javax.ejb.CreateException;
import javax.ejb.EJBLocalHome;
import javax.ejb.FinderException;

/**
 *
 * @author Дима
 */
public interface UserLocalHome extends EJBLocalHome {
    UserLocal create( String login, String avatar, String info, String contacts,
             String password, String email, String role) throws CreateException;
    UserLocal findByPrimaryKey(java.lang.Long key) throws FinderException;
    UserLocal findByLogin(String login) throws FinderException;
    Collection findAll();
}
